﻿namespace Longbow.GitHubAuth
{
    /// <summary>
    /// GitHub 认证默认配置项值
    /// </summary>
    public class GitHubDefaults
    {
        /// <summary>
        /// 默认认证方案名称
        /// </summary>
        public const string AuthenticationScheme = "GitHub";

        /// <summary>
        /// 认证方案显示名称
        /// </summary>
        public const string DisplayName = "GitHub";

        /// <summary>
        /// 授权地址
        /// </summary>
        public const string AuthorizationEndpoint = "https://GitHub.com/login/oauth/authorize";

        /// <summary>
        /// 获取 Access_Token 地址
        /// </summary>
        public const string TokenEndpoint = "https://GitHub.com/login/oauth/access_token";

        /// <summary>
        /// 获得 用户信息地址
        /// </summary>
        public const string UserInformationEndpoint = "https://api.github.com/user";

        /// <summary>
        /// 认证方案首页
        /// </summary>
        public const string HomePath = "/Home/Index";
    }
}
